import request from '@/utils/request'

// 查询组合卡券列表
export function listComboCardTicket(query) {
  return request({
    url: '/biz/comboCardTicket/list',
    method: 'get',
    params: query
  })
}

// 查询组合卡券详细
export function getComboCardTicket(id) {
  return request({
    url: '/biz/comboCardTicket/' + id,
    method: 'get'
  })
}

// 新增组合卡券
export function addComboCardTicket(data) {
  return request({
    url: '/biz/comboCardTicket',
    method: 'post',
    data: data
  })
}

// 修改组合卡券
export function updateComboCardTicket(data) {
  return request({
    url: '/biz/comboCardTicket',
    method: 'put',
    data: data
  })
}

// 删除组合卡券
export function delComboCardTicket(id) {
  return request({
    url: '/biz/comboCardTicket/' + id,
    method: 'delete'
  })
}
